/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PnlPreviewProduct.java
 *
 * Created on 26 ม.ค. 2553, 22:39:53
 */

package warehouse;

/**
 *
 * @author Administrator
 */
public class PnlPreviewProduct extends javax.swing.JPanel {

    /** Creates new form PnlPreviewProduct */
    public PnlPreviewProduct() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlHeadPrePro = new javax.swing.JPanel();
        lblHeadEditSup = new javax.swing.JLabel();
        pnlPrePro = new javax.swing.JPanel();
        btnPoDaily = new javax.swing.JButton();
        btnPoMount = new javax.swing.JButton();
        btnPrMount1 = new javax.swing.JButton();
        btnPrMount = new javax.swing.JButton();
        btnSumProduct = new javax.swing.JButton();

        setFont(new java.awt.Font("Tahoma", 0, 12));
        setMaximumSize(new java.awt.Dimension(700, 500));
        setMinimumSize(new java.awt.Dimension(700, 500));
        setRequestFocusEnabled(false);
        setLayout(new java.awt.BorderLayout());

        pnlHeadPrePro.setBackground(new java.awt.Color(204, 255, 204));
        pnlHeadPrePro.setMaximumSize(new java.awt.Dimension(700, 80));
        pnlHeadPrePro.setMinimumSize(new java.awt.Dimension(700, 80));
        pnlHeadPrePro.setPreferredSize(new java.awt.Dimension(700, 80));

        lblHeadEditSup.setFont(new java.awt.Font("Tahoma", 1, 16));
        lblHeadEditSup.setText("สรุปผลการดำเนินงาน");

        javax.swing.GroupLayout pnlHeadPreProLayout = new javax.swing.GroupLayout(pnlHeadPrePro);
        pnlHeadPrePro.setLayout(pnlHeadPreProLayout);
        pnlHeadPreProLayout.setHorizontalGroup(
            pnlHeadPreProLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHeadPreProLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addComponent(lblHeadEditSup, javax.swing.GroupLayout.PREFERRED_SIZE, 163, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(517, Short.MAX_VALUE))
        );
        pnlHeadPreProLayout.setVerticalGroup(
            pnlHeadPreProLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHeadPreProLayout.createSequentialGroup()
                .addGap(10, 10, 10)
                .addComponent(lblHeadEditSup)
                .addContainerGap(50, Short.MAX_VALUE))
        );

        add(pnlHeadPrePro, java.awt.BorderLayout.PAGE_START);

        btnPoDaily.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnPoDaily.setText("สรุปใบสั่งซื้อสินค้ารายวัน");
        btnPoDaily.setMaximumSize(new java.awt.Dimension(250, 40));
        btnPoDaily.setMinimumSize(new java.awt.Dimension(250, 40));
        btnPoDaily.setPreferredSize(new java.awt.Dimension(250, 40));
        btnPoDaily.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnPoDailyActionPerformed(evt);
            }
        });

        btnPoMount.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnPoMount.setText("สรุปใบสั่งซื้อสินค้ารายเดือน");
        btnPoMount.setMaximumSize(new java.awt.Dimension(250, 40));
        btnPoMount.setMinimumSize(new java.awt.Dimension(250, 40));
        btnPoMount.setPreferredSize(new java.awt.Dimension(250, 40));
        btnPoMount.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnPoMountActionPerformed(evt);
            }
        });

        btnPrMount1.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnPrMount1.setText("สรุปใบขอซื้อสินค้ารายวัน");
        btnPrMount1.setMaximumSize(new java.awt.Dimension(250, 40));
        btnPrMount1.setMinimumSize(new java.awt.Dimension(250, 40));
        btnPrMount1.setPreferredSize(new java.awt.Dimension(250, 40));
        btnPrMount1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnPrMount1ActionPerformed(evt);
            }
        });

        btnPrMount.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnPrMount.setText("สรุปใบขอซื้อสินค้ารายเดือน");
        btnPrMount.setMaximumSize(new java.awt.Dimension(250, 40));
        btnPrMount.setMinimumSize(new java.awt.Dimension(250, 40));
        btnPrMount.setPreferredSize(new java.awt.Dimension(250, 40));
        btnPrMount.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnPrMountActionPerformed(evt);
            }
        });

        btnSumProduct.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnSumProduct.setText("สรุปสินค้าคงเหลือ");
        btnSumProduct.setMaximumSize(new java.awt.Dimension(250, 40));
        btnSumProduct.setMinimumSize(new java.awt.Dimension(250, 40));
        btnSumProduct.setPreferredSize(new java.awt.Dimension(250, 40));
        btnSumProduct.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSumProductActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout pnlPreProLayout = new javax.swing.GroupLayout(pnlPrePro);
        pnlPrePro.setLayout(pnlPreProLayout);
        pnlPreProLayout.setHorizontalGroup(
            pnlPreProLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlPreProLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlPreProLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnSumProduct, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnPrMount, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnPrMount1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnPoMount, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnPoDaily, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(430, 430, 430))
        );
        pnlPreProLayout.setVerticalGroup(
            pnlPreProLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlPreProLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addComponent(btnPoDaily, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnPoMount, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnPrMount1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnPrMount, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnSumProduct, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(165, 165, 165))
        );

        add(pnlPrePro, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents

    private void btnPoDailyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPoDailyActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnPoDailyActionPerformed

    private void btnPoMountActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPoMountActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnPoMountActionPerformed

    private void btnPrMount1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPrMount1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnPrMount1ActionPerformed

    private void btnPrMountActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPrMountActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnPrMountActionPerformed

    private void btnSumProductActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSumProductActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnSumProductActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnPoDaily;
    private javax.swing.JButton btnPoMount;
    private javax.swing.JButton btnPrMount;
    private javax.swing.JButton btnPrMount1;
    private javax.swing.JButton btnSumProduct;
    private javax.swing.JLabel lblHeadEditSup;
    private javax.swing.JPanel pnlHeadPrePro;
    private javax.swing.JPanel pnlPrePro;
    // End of variables declaration//GEN-END:variables

}
